<template>
  <div class="right-container">
    <h3>Right 组件</h3>
    <button @click="postInfo">发起Post 请求</button>
  </div>
</template>

<script>
import axios from 'axios'

export default {
  name: 'RightComponent',
  methods: {
    async postInfo () {
      const data = await axios.post('https://tenapi.cn/v2/biliinfo?uid=13529152')
      console.log(data)
    }
  }
}
</script>

<style lang="less" scoped>
.right-container {
  background-color: orange;
  min-height: 200px;
  flex: 1;
}
</style>
